ARCH ?= x86

ifeq ($(ARCH),x86)
		CC = gcc
else
		CC = arm-linux-gnueabihf-gcc
endif

CC=gcc
TARGET=sys
OBJS=memcheck.o test.o

$(TARGET):$(OBJS)
	$(CC) $^ -o $@

.PHONY:clear

clear:
		rm memcheck.o test.o
